// Sequence.cpp : implementation of the CSequence class
//

#include "stdafx.h"
#include "Sequence.h"

CSequence::CSequence()
{
	// TODO: add member initialization code here
	
}
CSequence::~CSequence()
{

}
 

bool CSequence::GetCheckSequence() const
{
	return m_checkSequence;
}
void CSequence::SetCheckSequence(bool nCheckSequence)
{
	m_checkSequence=nCheckSequence;
}
bool CSequence::GetCheckRepeatedChar() const
{
	return m_checkRepeatedChar;
}
void CSequence::SetCheckRepeatedChar(bool nCheckRepeatedChar)
{
	m_checkRepeatedChar=nCheckRepeatedChar;
}
int CSequence::GetMaxRepeatedChar() const
{
	return m_maxRepeatedChar;
}
void CSequence::SetMaxRepeatedChar(int nMaxRepeatedChar)
{
	m_maxRepeatedChar=nMaxRepeatedChar;
}
bool CSequence::GetCheckAlphaSequence() const
{
	return m_checkAlphaSequence;
}
void CSequence::SetCheckAlphaSequence(bool nCheckAlphaSequence)
{
	m_checkAlphaSequence=nCheckAlphaSequence;
}
bool CSequence::GetCheckKeyBoardSequence() const
{
	return m_checkKeyBoardSequence;
}
void CSequence::SetCheckKeyBoardSequence(bool nCheckKeyBoardSequence)
{
	m_checkKeyBoardSequence=nCheckKeyBoardSequence;
}

void CSequence::MapXMLTagsToMembers()
{
	MapAttribute(&m_checkSequence,"checkSequence");
	MapAttribute(&m_checkRepeatedChar,"checkRepeatedChar");
	MapAttribute(&m_maxRepeatedChar,"maxRepeatedChar");
	MapAttribute(&m_checkAlphaSequence,"checkAlphaSequence");
	MapAttribute(&m_checkKeyBoardSequence,"checkKeyBoardSequence");
}
IMPLEMENT_FACTORY(CSequence, Sequence);